package com.orangelife.mobile.app.application;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

import com.curry.orangelife.mobile.R;
import com.orangelife.mobile.util.ToastHelper;

/**
 * @author Administrator
 * 
 */
public class SettingActivity extends Activity {

	private EditText etIp;
	private Button btnMod;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_setting);
		etIp = (EditText) findViewById(R.id.etIp);
		btnMod = (Button) findViewById(R.id.btnMod);
		btnMod.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				String ip = etIp.getText().toString();
				ToastHelper.getInstance()._toast(
						getResources().getString(R.string.seeting_toast_text));
			}
		});
	}

}
